package com.pureut.storage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pureut.storage.domain.CheckManagementDetail;
import com.pureut.storage.dto.CheckDetailListDto;
import com.pureut.storage.dto.CheckManagementDto;
import com.pureut.storage.dto.CheckMaterialDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CheckManagementDetailMapper extends BaseMapper<CheckManagementDetail> {

    /**
     * 盘点单据明细列表
     */
    List<CheckDetailListDto> selectDetailList(@Param("docNum") String docNum);

    /**
     * 查询盘点物料下拉
     * @param checkDoc
     * @return
     */
    List<CheckMaterialDto> selectMaterialList(String checkDoc);

    /**
     * 盘点单据明细列表
     * @param checkDoc
     * @return
     */
    List<CheckManagementDto> reviceDocDetail(String checkDoc);
}
